<div align="left">
<ul class="normal-list">
<li>
<button id="but-newAlbum">Crear album</button>
</li>
<li class="ui-state-default ui-corner-all">
	<a href="javscript:void(0)"><img src="/core.php/photo/thumbnail/id/6ea6a7503396afbdac1e28f496aedbb7/type/mini"/></a>
	<span><?php echo __("All photos");?></span>	
</li>
<?php 
foreach($albums as $album)
{
	if($album instanceof Album){
?>
<li class="ui-state-default ui-corner-all">
	<a href="javscript:void(0)"><img src="/core.php/photo/thumbnail/id/<?php echo $album->getFront()->getPhotoId();?>/type/mini"/></a>
	<span><?php echo $album->getName();?></span>	
</li>
<?php 
	}
}
?>


</ul>
</div>
